﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KendoMvcUI.Core;
using System.Web.Mvc;

namespace KendoMvcUI.UI
{
    public class ColorPalette:KendoUIBase
    {
        public ColorPalette(ColorPaletteSettings settings,ViewContext viewContext,IViewDataContainer viewDataContainer)
            :base(settings,viewContext,viewDataContainer)
        { }
        public override string RenderHtml()
        {
            return "<div id="+Settings.Id+"></div>";
        }
    }
    public class ColorPaletteSettings : KendoUIControlSettings
    {
        public ColorPaletteSettings()
            : base("kendoColorPalette")
        { }

        public string Palette { get; set; }
        public int? Columns { get; set; }
        public int? TileSize { get; set; }
        public string Value { get; set; }
    }
}
